<template>
  <div class="log">
      <p>
        <img
        src="https://img.bosszhipin.com/beijin/upload/avatar/20200427/9743d5e87850e514bb000e463723d7ecb4188d951b0217589d0705d4f22256b0_s.jpg?x-oss-process=image/resize,w_100,limit_0"
        alt=""
      />
      </p>
      <p>
          <span>用户登录</span>
      </p>
      <p>
        <input type="text" placeholder="请输入手机号">
      </p>
      <p>
        <input type="text" placeholder="请输入密码">
      </p>
      <p>
        <button @click="deng()">登录</button> 
        <button @click="reg()">注册!</button> 
      </p>
      <p>
          <span>或通过以下方式登录</span>
          <img src="img/wx.jpg" alt="">
      </p>
  </div>
</template>

<script>
export default {
    methods:{
        deng(){
            this.$router.push('/job')
        },
        reg(){
            this.$router.push('/regist')
        }
    }
}
</script>

<style scoped>
.log {
    margin: 0.10rem 0.20rem;
    background: #39c0ba;
    overflow: hidden;
}
.log > p {
    display: flex;
    justify-content: center;
    margin: 0.27rem 0;
}
.log > p > img{
    /* width: 100%; */
    width: 1.00rem;
    height: 1.00rem;
    border: 0.01rem solid #fff;
    border-radius: 50%;
}
.log > p > span {
font-size: 0.24rem;
color: #fff;
}
.log > p > input {
    height: 0.30rem;
    border: 0;
    padding-left: 0.10rem;
    border-radius: 0.06rem;
}
.log > p > button {
    background: #3bf282;
    padding: 0.06rem;
    border: 0;
    color: #fff;
    border-radius: 0.06rem;
    margin: 0 0.56rem;
}
.log > p:last-child{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0.10rem 0;
}
.log > p:last-child > span {
    font-size: 0.14rem;
    margin-bottom: 0.06rem;
}
.log > p:last-child > img {
    width: 0.40rem;
    height: 0.40rem;
    /* border: 0.01rem solid #fff; */
    border-radius: 50%;
    vertical-align: middle;
}
</style>